GBML manual / Backgrounds

EDGE_REPEAT

The picture again: what the console does by itself.

Works differently on Game Boy - The Game Boy decides what a picture shows past its edge when the game is built (see background_edge); the choice is read from the plain name written in the call.

Works differently on Game Boy Color - The Game Boy Color decides what a picture shows past its edge when the game is built (see background_edge); the choice is read from the plain name written in the call.

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

EDGE_REPEAT: constant

Description

Names the edge where the picture starts again past its edge, like tiles on a floor. It is what the console does by itself, for background_edge.

Example

backdrop = background_create(0, 0, ts_doc_dungeon);
background_edge(backdrop, EDGE_REPEAT);

Says the background repeats, which is also what it does if you say nothing.

See also: background_edgebackground_repeat